/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sahd.view;

import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author Levix
 */
public class SaleView {

    
    
    
    public   void  loadTable(Object [] products,JTable table){

     ((DefaultTableModel) table.getModel()).addRow(products);
        table.setVisible(true);
    }
        




    }

